phone-context-table

This command configures the Phone Contexts table, which lets you define rules for mapping the Numbering Plan Indication (NPI) and Type of Number (TON) to the SIP 'phone-context' parameter, and vice versa.

Syntax

(config-voip)# gateway manipulation phone-context-table <Index> 
(phone-context-table-<Index>)# 

Command

Description

Index

Defines the table row index.

context

Defines the SIP 'phone-context' URI parameter.

npi {e164-public|not-included|private|unknown}

Defines the NPI.

ton

Defines the TON.

Command Mode

Privileged User

Example

This example maps NPI E.164 to "context= na.e.164.nt.com":

(config-voip)# gateway manipulation phone-context-table 0
(phone-context-table-0)# npi e164-public 
(phone-context-table-0)# context na.e.164.nt.com
(phone-context-table-0)# activate